{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials/Friends in Profession ISQ Log File.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Jul 2021, 12:18:11

{com}. do "/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials/Friends in Profession ISQ Code.do"
{txt}
{com}. ***Friends in the Profession ISQ Replication Code***
. ***Reyko Huang, Daniel Silverman, Benjamin Acosta***
. ***Updated 7-24-21***
. 
. ***Main Text***
. 
. *Figure 1/Bar Graph*
. graph bar studyab workab milab exile, showyvars yvaroptions(relabel(1 "Study Abroad" 2 "Work Abroad" 3 "Military Abroad" 4 "Exile")) bargap(50) percentages ylabel(0 "0%" 10 "10%" 20 "20%" 30 "30%" 40 "40%", angle(0)) ytitle("Percent of Rebel Leaders") legend(off) scheme(s1mono) bar(1, fcolor(navy) lcolor(navy)) bar(2, fcolor(navy) lcolor(navy)) bar(3, fcolor(navy) lcolor(navy)) bar(4, fcolor(navy) lcolor(navy))
{res}{txt}
{com}. 
. *Table 1/Base Models*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Base.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Base.doc"'"':ROLE_Sponsors_Base.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Base.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Base.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Base.doc"'"':ROLE_Sponsors_Base.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Base.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Base.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Base.doc"'"':ROLE_Sponsors_Base.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Base.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est4{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Base.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Base.doc"'"':ROLE_Sponsors_Base.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Base.txt""':seeout}

{com}. 
. *Figure 2/Beta Coefficients*
. foreach v of varlist nags_numsupporters dynamicage education military combat expabroad rebweak rebstrong centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity {c -(}
{txt}  2{com}.     gen `v'2 = `v'
{txt}  3{com}.         center `v'2, inplace standardize
{txt}  4{com}. {c )-} 
{txt}(170 missing values generated)
(modified variables: nags_numsupporters2)
(212 missing values generated)
(modified variables: dynamicage2)
(356 missing values generated)
(modified variables: education2)
(279 missing values generated)
(modified variables: military2)
(445 missing values generated)
(modified variables: combat2)
(473 missing values generated)
(modified variables: expabroad2)
(117 missing values generated)
(modified variables: rebweaker2)
(117 missing values generated)
(modified variables: rebstronger2)
(152 missing values generated)
(modified variables: centcontrol2)
(164 missing values generated)
(modified variables: govsupport2)
(184 missing values generated)
(modified variables: transconstsupp2)
(122 missing values generated)
(modified variables: terrcont2)
(1 missing value generated)
(modified variables: multdyads2)
(509 missing values generated)
(modified variables: rivalry2)
(27 missing values generated)
(modified variables: rgdppc2)
(50 missing values generated)
(modified variables: xpolity2)

{com}. reg nags_numsupporters2 dynamicage2 education2 military2 combat2 expabroad2 rebweaker2 rebstronger2 centcontrol2 govsupport2 transconstsupp2 terrcont2 multdyads2 rivalry2 rgdppc2 xpolity2 stdcinc, robust

{txt}Linear regression                               Number of obs     = {res}       977
                                                {txt}F(16, 960)        =  {res}    27.31
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.3852
                                                {txt}Root MSE          =    {res} .84604

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}nags_numsu~2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}dynamicage2 {c |}{col 14}{res}{space 2} .1303256{col 26}{space 2} .0359569{col 37}{space 1}    3.62{col 46}{space 3}0.000{col 54}{space 4} .0597624{col 67}{space 3} .2008888
{txt}{space 2}education2 {c |}{col 14}{res}{space 2}-.2577819{col 26}{space 2} .0307731{col 37}{space 1}   -8.38{col 46}{space 3}0.000{col 54}{space 4}-.3181721{col 67}{space 3}-.1973917
{txt}{space 3}military2 {c |}{col 14}{res}{space 2}-.1170139{col 26}{space 2} .0294879{col 37}{space 1}   -3.97{col 46}{space 3}0.000{col 54}{space 4} -.174882{col 67}{space 3}-.0591458
{txt}{space 5}combat2 {c |}{col 14}{res}{space 2}-.1586731{col 26}{space 2}  .031266{col 37}{space 1}   -5.07{col 46}{space 3}0.000{col 54}{space 4}-.2200307{col 67}{space 3}-.0973155
{txt}{space 2}expabroad2 {c |}{col 14}{res}{space 2} .5001699{col 26}{space 2} .0426409{col 37}{space 1}   11.73{col 46}{space 3}0.000{col 54}{space 4} .4164898{col 67}{space 3} .5838501
{txt}{space 2}rebweaker2 {c |}{col 14}{res}{space 2} .0219177{col 26}{space 2} .0329345{col 37}{space 1}    0.67{col 46}{space 3}0.506{col 54}{space 4}-.0427141{col 67}{space 3} .0865496
{txt}rebstronger2 {c |}{col 14}{res}{space 2}-.0729867{col 26}{space 2} .0298933{col 37}{space 1}   -2.44{col 46}{space 3}0.015{col 54}{space 4}-.1316504{col 67}{space 3}-.0143229
{txt}centcontrol2 {c |}{col 14}{res}{space 2}  -.04408{col 26}{space 2} .0190304{col 37}{space 1}   -2.32{col 46}{space 3}0.021{col 54}{space 4} -.081426{col 67}{space 3} -.006734
{txt}{space 1}govsupport2 {c |}{col 14}{res}{space 2} .0226638{col 26}{space 2} .0320268{col 37}{space 1}    0.71{col 46}{space 3}0.479{col 54}{space 4}-.0401869{col 67}{space 3} .0855145
{txt}transconst~2 {c |}{col 14}{res}{space 2} .1250229{col 26}{space 2} .0291138{col 37}{space 1}    4.29{col 46}{space 3}0.000{col 54}{space 4} .0678889{col 67}{space 3} .1821569
{txt}{space 3}terrcont2 {c |}{col 14}{res}{space 2} .0349751{col 26}{space 2} .0290167{col 37}{space 1}    1.21{col 46}{space 3}0.228{col 54}{space 4}-.0219683{col 67}{space 3} .0919185
{txt}{space 2}multdyads2 {c |}{col 14}{res}{space 2}-.1710111{col 26}{space 2} .0303022{col 37}{space 1}   -5.64{col 46}{space 3}0.000{col 54}{space 4}-.2304774{col 67}{space 3}-.1115449
{txt}{space 4}rivalry2 {c |}{col 14}{res}{space 2} .2161727{col 26}{space 2} .0280451{col 37}{space 1}    7.71{col 46}{space 3}0.000{col 54}{space 4} .1611359{col 67}{space 3} .2712094
{txt}{space 5}rgdppc2 {c |}{col 14}{res}{space 2} .3491509{col 26}{space 2} .0595431{col 37}{space 1}    5.86{col 46}{space 3}0.000{col 54}{space 4} .2323011{col 67}{space 3} .4660006
{txt}{space 4}xpolity2 {c |}{col 14}{res}{space 2}-.0414365{col 26}{space 2} .0315045{col 37}{space 1}   -1.32{col 46}{space 3}0.189{col 54}{space 4}-.1032622{col 67}{space 3} .0203891
{txt}{space 5}stdcinc {c |}{col 14}{res}{space 2}-.1379529{col 26}{space 2} .0334012{col 37}{space 1}   -4.13{col 46}{space 3}0.000{col 54}{space 4}-.2035007{col 67}{space 3}-.0724051
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .1277261{col 26}{space 2} .0277582{col 37}{space 1}    4.60{col 46}{space 3}0.000{col 54}{space 4} .0732524{col 67}{space 3} .1821998
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. coefplot, drop(_cons) xline(0) nolabels ///
> headings(dynamicage2 = "{c -(}bf:Leader Level{c )-}" rebweaker2 = "{c -(}bf:Organization Level{c )-}" rivalry2 = "{c -(}bf:Country Level{c )-}", labcolor(blue)) graphregion(color(white)) graphregion(lcolor(black)) plotregion(lcolor(black))
{res}{txt}
{com}. 
. *Figure 3/Host Countries*
. eststo clear
{txt}
{com}. quietly logit countrymatch dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}
{com}. estimates store Match
{txt}
{com}. quietly logit nocountrymatch dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}
{com}. estimates store NonMatch
{txt}
{com}. coefplot (Match, label(Host Country)) ///
> (NonMatch, label(Non-Host Country)) ///
> , drop(_cons dynamicage education military combat rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc) eform xline(0) nolabels ytitle("Effect of Study Abroad on Odds of Support") scheme(s1mono) ylabel(none) yscale(titlegap(2))
{res}{txt}
{com}. 
. *Table 2/Experience Types*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat studyab rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Types.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Types.doc"'"':ROLE_Sponsors_Types.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Types.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat workab rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Types.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Types.doc"'"':ROLE_Sponsors_Types.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Types.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat milab rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Types.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Types.doc"'"':ROLE_Sponsors_Types.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Types.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat exile rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est4{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Types.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Types.doc"'"':ROLE_Sponsors_Types.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Types.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat studyab workab milab exile rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est5{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Types.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Types.doc"'"':ROLE_Sponsors_Types.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Types.txt""':seeout}

{com}. 
. ***Appendix***
. 
. *Table A1/Individual Sponsors*
. eststo clear
{txt}
{com}. eststo: quietly logit usback dynamicage education military combat usstudy rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Individual.doc", replace alpha (0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Individual.doc"'"':ROLE_Sponsors_Individual.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Individual.txt""':seeout}

{com}. eststo: quietly logit franceback dynamicage education military combat francestudy rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Individual.doc", append alpha (0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Individual.doc"'"':ROLE_Sponsors_Individual.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Individual.txt""':seeout}

{com}. eststo: quietly logit egyptback dynamicage education military combat egyptstudy rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Individual.doc", append alpha (0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Individual.doc"'"':ROLE_Sponsors_Individual.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Individual.txt""':seeout}

{com}. 
. *Table A2/Other Advantages*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Advantages.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Advantages.doc"'"':ROLE_Sponsors_Advantages.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Advantages.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc family, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Advantages.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Advantages.doc"'"':ROLE_Sponsors_Advantages.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Advantages.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc family polyglot, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Advantages.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Advantages.doc"'"':ROLE_Sponsors_Advantages.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Advantages.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc family polyglot rebpolwing, robust
{txt}({res}est4{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Advantages.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Advantages.doc"'"':ROLE_Sponsors_Advantages.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Advantages.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc family polyglot rebpolwing finance, robust
{txt}({res}est5{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Advantages.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Advantages.doc"'"':ROLE_Sponsors_Advantages.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Advantages.txt""':seeout}

{com}. 
. *Table A3/Entry Methods*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Entry.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Entry.doc"'"':ROLE_Sponsors_Entry.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Entry.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc elected, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Entry.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Entry.doc"'"':ROLE_Sponsors_Entry.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Entry.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc elected appointed, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Entry.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Entry.doc"'"':ROLE_Sponsors_Entry.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Entry.txt""':seeout}

{com}. 
. *Table A4/Gscholar Measure*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_GScholar.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_GScholar.doc"'"':ROLE_Sponsors_GScholar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_GScholar.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc gscholar, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_GScholar.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_GScholar.doc"'"':ROLE_Sponsors_GScholar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_GScholar.txt""':seeout}

{com}. 
. *Table A5/Cold War*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_ColdWar.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_ColdWar.doc"'"':ROLE_Sponsors_ColdWar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_ColdWar.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc coldwar, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_ColdWar.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_ColdWar.doc"'"':ROLE_Sponsors_ColdWar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_ColdWar.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc if coldwar == 1, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_ColdWar.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_ColdWar.doc"'"':ROLE_Sponsors_ColdWar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_ColdWar.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc if coldwar == 0, robust
{txt}({res}est4{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_ColdWar.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_ColdWar.doc"'"':ROLE_Sponsors_ColdWar.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_ColdWar.txt""':seeout}

{com}. 
. *Table A6/Rebel Ideology*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Ideology.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Ideology.doc"'"':ROLE_Sponsors_Ideology.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Ideology.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc nagleft nagright nagtheo, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Ideology.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Ideology.doc"'"':ROLE_Sponsors_Ideology.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Ideology.txt""':seeout}

{com}. eststo: quietly logit usback dynamicage education military combat usstudy rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc nagleft nagright nagtheo, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Ideology.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Ideology.doc"'"':ROLE_Sponsors_Ideology.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Ideology.txt""':seeout}

{com}. eststo: quietly logit franceback dynamicage education military combat francestudy rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc nagleft nagright nagtheo, robust
{txt}({res}est4{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Ideology.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Ideology.doc"'"':ROLE_Sponsors_Ideology.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Ideology.txt""':seeout}

{com}. 
. *Table A7/State Disruption*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Assassin.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Assassin.doc"'"':ROLE_Sponsors_Assassin.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Assassin.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc assassin, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Assassin.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Assassin.doc"'"':ROLE_Sponsors_Assassin.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Assassin.txt""':seeout}

{com}. 
. *Table A8/Clustered Errors*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Clustering.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Clustering.doc"'"':ROLE_Sponsors_Clustering.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Clustering.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, cluster(actorid)
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Clustering.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Clustering.doc"'"':ROLE_Sponsors_Clustering.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Clustering.txt""':seeout}

{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, cluster(ccode)
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Clustering.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Clustering.doc"'"':ROLE_Sponsors_Clustering.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Clustering.txt""':seeout}

{com}. 
. *Table A9/Model Selection*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Selection.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Selection.doc"'"':ROLE_Sponsors_Selection.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Selection.txt""':seeout}

{com}. eststo: quietly nbreg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Selection.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Selection.doc"'"':ROLE_Sponsors_Selection.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Selection.txt""':seeout}

{com}. eststo: quietly poisson nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Selection.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Selection.doc"'"':ROLE_Sponsors_Selection.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Selection.txt""':seeout}

{com}. 
. *Table A10/DV Operationalization*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome.doc"'"':ROLE_Sponsors_Outcome.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome.txt""':seeout}

{com}. eststo: quietly logit nags_binary dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome.doc"'"':ROLE_Sponsors_Outcome.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome.txt""':seeout}

{com}. eststo: quietly ologit nags_ordinal dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome.doc"'"':ROLE_Sponsors_Outcome.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome.txt""':seeout}

{com}. 
. *Table A11/UCDP External Support*
. eststo clear
{txt}
{com}. eststo: quietly reg nags_numsupporters dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est1{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome2.doc", replace alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome2.doc"'"':ROLE_Sponsors_Outcome2.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome2.txt""':seeout}

{com}. eststo: quietly logit ucdp_binary dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est2{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome2.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome2.doc"'"':ROLE_Sponsors_Outcome2.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome2.txt""':seeout}

{com}. eststo: quietly ologit ucdp_ordinal dynamicage education military combat expabroad rebweaker rebstronger centcontrol govsupport transconstsupp terrcont multdyads rivalry rgdppc xpolity stdcinc, robust
{txt}({res}est3{txt} stored)

{com}. outreg2 using "ROLE_Sponsors_Outcome2.doc", append alpha(0.001, 0.01, 0.05) dec(2)
{txt}{stata `"shellout using `"ROLE_Sponsors_Outcome2.doc"'"':ROLE_Sponsors_Outcome2.doc}
{browse `"/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials"' :dir}{com} : {txt}{stata `"seeout using "ROLE_Sponsors_Outcome2.txt""':seeout}

{com}. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/danielsilverman/Desktop/Friends in Profession ISQ Replication Materials/Friends in Profession ISQ Log File.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Jul 2021, 12:19:06
{txt}{.-}
{smcl}
{txt}{sf}{ul off}